<%@ include file="../views/taglib.jsp" %>


<div class="navbar navbar-default navbar-fixed-bottom">
	<div class="container">
		<p class="navbar-text">&copy; Group 3</p>
		<a href="#top" id="back-to-top" style="display: none;" class="navbar-btn btn btn-danger pull-right page-scroll"><span class="glyphicon glyphicon-chevron-up"></span>Back To Top</a>
	</div>
</div>
			
<script type="text/javascript">
jQuery(document).ready(function() {
	var offset = 150;
	var duration = 500;
	jQuery(window).scroll(function() {
		if (jQuery(this).scrollTop() > offset) {
			jQuery('#back-to-top').fadeIn(duration);
		} else {
			jQuery('#back-to-top').fadeOut(duration);
		}
	});
	
	jQuery('#back-to-top').click(function(event) {
		event.preventDefault();
		jQuery('html, body').animate({scrollTop: 0}, duration);
		return false;
	})
});

</script>
